<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MvcShop.Models.User>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Index</h2>

    <fieldset>
        <legend>Fields</legend>
        <p>
            UserId:
            <%= Html.Encode(Model.UserId) %>
        </p>
        <p>
            UserName:
            <%= Html.Encode(Model.UserName) %>
        </p>
        <p>
            Password:
            <%= Html.Encode(Model.Password) %>
        </p>
        <p>
            Email:
            <%= Html.Encode(Model.Email) %>
        </p>
        <p>
            LastLoginIP:
            <%= Html.Encode(Model.LastLoginIP) %>
        </p>
        <p>
            LastLoginTime:
            <%= Html.Encode(String.Format("{0:g}", Model.LastLoginTime)) %>
        </p>
        <p>
            LastLogoutTime:
            <%= Html.Encode(String.Format("{0:g}", Model.LastLogoutTime)) %>
        </p>
        <p>
            LoginTimes:
            <%= Html.Encode(Model.LoginTimes) %>
        </p>
    </fieldset>
    <p>

        <%=Html.ActionLink("Edit", "Edit", new { id=Model.UserId }) %> |
        <%=Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

